import { createApp } from 'vue'
import App from './App.vue'
// import store from './store/index.js'
import { createPinia } from 'pinia'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import Vant from 'vant'
// 2. 引入组件样式
import 'vant/lib/index.css'

const app = createApp(App)
const pinia = createPinia()
// 全局挂了一个$axios属性
app.config.globalProperties.$axios = 'axios'

app.use(pinia)
app.use(ElementPlus)
app.use(router)
app.use(Vant)
app.mount('#app')
